package com.sales.util;

import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;

/**
 * Created by lihu on 2017/10/14.
 */
public class MyDateutils {


    /**
     * 加减月份
     *
     * @return Date
     */
    public static final Date increaseMonth(Date aDate, int days) {
        Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("GMT+8"));
        cal.setTime(aDate);
        cal.add(Calendar.MONTH, days);
        return cal.getTime();
    }

}
